package com.example.demo.pojo;

import org.springframework.security.core.GrantedAuthority;

/**
 * <h3>reqister</h3>
 * <p>权限类型</p>
 *
 * @author : chenjunjie
 * @date : 2021-06-22 09:46
 **/
public class GrantedAuthorityImpl  implements GrantedAuthority {
    private String authority;

    public GrantedAuthorityImpl(String authority) {
        this.authority = authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }
}
